package com.nightpiter.model.objects;

/**
 * @author Eldar Abusalimov (eldar.abusalimov@gmail.com)
 * 
 */
public class Line {

	protected String name = "";
	protected int color = 0;

	protected int trainDelay = 0;

	/**
	 * public constructor
	 * 
	 * @param name
	 * @param color
	 * @param trainDelay
	 */
	public Line(String name, int color, int trainDelay) {
		this.name = name;
		this.color = color;
		this.trainDelay = trainDelay;
	}

	public String getName() {
		return name;
	}

	public int getColor() {
		return color;
	}

	public int getTrainDelay() {
		return trainDelay;
	}
	
	public String toString() {
		return name;
	}

}
